#!/usr/bin/python
import sys;
out = '';
for i in range(int(sys.argv[1])):
  out += str(i) + ' ';
print out
